
#import "SEGMarketTypeModel.h"
#import "SEGUtils.h"

@implementation SEGMarketTypeModel
- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
self = [super init];
if (self) {
[self setValuesForKeysWithDictionary:dictionary];
}
return self;
}
-(instancetype)init
{
self = [super init];
if (self) {
_status = @"";
_remark = @"";
_dicId = @"";
_createTime = @"";
_code = @"";
_orderNo = @"";
_updateTime = @"";
_value = @"";
_type = @"";
_name = @"";
_dictionaryId = @"";
}
return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{}
- (void)setStatus:(NSString*)status{
_status = [[SEGUtils ValueToString:status]copy];
}
- (void)setRemark:(NSString*)remark{
_remark = [[SEGUtils ValueToString:remark]copy];
}
- (void)setDicId:(NSString*)dicId{
_dicId = [[SEGUtils ValueToString:dicId]copy];
}
- (void)setCreateTime:(NSString*)createTime{
_createTime = [[SEGUtils ValueToString:createTime]copy];
}
- (void)setCode:(NSString*)code{
_code = [[SEGUtils ValueToString:code]copy];
}
- (void)setOrderNo:(NSString*)orderNo{
_orderNo = [[SEGUtils ValueToString:orderNo]copy];
}
- (void)setUpdateTime:(NSString*)updateTime{
_updateTime = [[SEGUtils ValueToString:updateTime]copy];
}
- (void)setValue:(NSString*)value{
_value = [[SEGUtils ValueToString:value]copy];
}
- (void)setType:(NSString*)type{
_type = [[SEGUtils ValueToString:type]copy];
}
- (void)setName:(NSString*)name{
_name = [[SEGUtils ValueToString:name]copy];
}
- (void)setDictionaryId:(NSString*)dictionaryId{
_dictionaryId = [[SEGUtils ValueToString:dictionaryId]copy];
}
@end
